<!--
//******************************************************************/
//Modification History
//******************************************************************/
//CR log no 1054: By Oscar Bai  Date:2003/02
//******************************************************************/
-->

<html>

<%@ page import="com.ffpc.struts.StrutsMessage" %>

<%@ page import="java.sql.*" %>

<%@ page import="java.util.*" %>

<%@ page import="java.lang.*" %>

<%@ page import="java.text.*" %>

<%
  //CR log no 1054 begin of: Show message dialog;

  StrutsMessage message = (StrutsMessage)request.getAttribute("message");
  if (message==null)
    message = new StrutsMessage();

  //CR log no 1054 end of;

  String contextPath = request.getContextPath();
%>

<LINK rel='stylesheet' type='text/css' href='<%=contextPath%>/style.css'/>

<body>
<center>
<h2>User Login</h2>
<form target="_top" id=fm method=post action=<%=contextPath%>/servlet/admin.LoginServlet >
<table cols=2 >
<tr>
  <td>User ID</td>
  <td><input type=text name=user_id value="" maxlength=20></td>
</tr>
<tr>
  <td>Password</td>
  <td><input type=password name=passwd value="" maxlength=40><td>
</tr>
<tr>
</table>

<br>
<p>
  <INPUT type=submit value=Login >
  <INPUT type=reset  value=Cancel >
</p>
</form>
</center>

<%@ include file="/footer.jsp" %>

</body>
<% 
  //CR log no 1054 begin of: Show message dialog;

  if (message.getMessage()!=null && message.getMessage().trim().length()>3 )
  { %>
    <script lang=javascript >
      alert("<%= message.getMessage() %>");
    </script>
<% 
     message.setMessage("");
  } 
  
  //CR log no 1054 end of;
%>

</html>

